package cn.edu.xaut.rssirecoder;

import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;

/**
 * Created by jason on 16-6-11.
 */
public class DirectionFunc implements SensorEventListener {
    public static float CURRENT_DEGREE;

    public DirectionFunc() {
    }

    @Override
    public void onSensorChanged(SensorEvent event) {
        CURRENT_DEGREE=event.values[0];
    }

    @Override
    public void onAccuracyChanged(Sensor sensor, int accuracy) {

    }
}
